import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:合并俩个有序数组
 * User: xwl
 * Date: 2023-05-07
 * Time: 22:42
 */
public class Test2 {
        public void merge(int[] nums1, int m, int[] nums2, int n) {
            for (int i = 0; i != n; ++i) {
                nums1[m + i] = nums2[i];
            }
            Arrays.sort(nums1);
        }
}
